package Decorator;

import Decorator.base.Shape;

//创建一个shape的抽象装饰类
public abstract class ShapeDecorator implements Shape {
    protected Shape decotatedShape;

    public ShapeDecorator(Shape decotatedShape){
        this.decotatedShape = decotatedShape;
    }

    public void draw(){
        decotatedShape.draw();
    }
}
